package com.woniu.cloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 积分商品表
 * </p>
 *
 * @author hyy
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("积分商品表")
public class TScoreGood implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 积分商品id
     */
    @TableId(value = "score_good_id", type = IdType.AUTO)
    @ApiModelProperty("积分商品id")
    private Integer scoreGoodId;

    /**
     * 积分商品名
     */
    @ApiModelProperty("积分商品名")
    private String scoreGoodName;

    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    private Integer scoreGoodGoodId;

    /**
     * 所需兑换积分
     */
    @ApiModelProperty("所需兑换积分")
    private Integer scoreGoodScorePrice;

    /**
     * 销量
     */
    @ApiModelProperty("销量")
    private Integer scoreGoodSellNum;

    /**
     * 库存
     */
    @ApiModelProperty("库存")
    private Integer scoreGoodNum;

    /**
     * 图片
     */
    @ApiModelProperty("图片")
    private String scoreGoodImage;

    /**
     * 类型 0:售罄  1：正常
     */
    @ApiModelProperty("类型 0:售罄  1：正常")
    private Integer scoreGoodStatus;

    /**
     * 简介
     */
    @ApiModelProperty("简介")
    private String scoreGoodDetail;


}
